Optimal. Leaf size=141 \[ -\frac {a^{12}}{9 x^9}-\frac {3 a^{11} b}{2 x^8}-\frac {66 a^{10} b^2}{7 x^7}-\frac {110 a^9 b^3}{3 x^6}-\frac {99 a^8 b^4}{x^5}-\frac {198 a^7 b^5}{x^4}-\frac {308 a^6 b^6}{x^3}-\frac {396 a^5 b^7}{x^2}-\frac {495 a^4 b^8}{x}+66 a^2 b^{10} x+6 a b^{11} x^2+\frac {b^{12} x^3}{3}+220 a^3 b^9 \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 141, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {45}
\begin {gather*} -\frac {a^{12}}{9 x^9}-\frac {3 a^{11} b}{2 x^8}-\frac {66 a^{10} b^2}{7 x^7}-\frac {110 a^9 b^3}{3 x^6}-\frac {99 a^8 b^4}{x^5}-\frac {198 a^7 b^5}{x^4}-\frac {308 a^6 b^6}{x^3}-\frac {396 a^5 b^7}{x^2}-\frac {495 a^4 b^8}{x}+220 a^3 b^9 \log (x)+66 a^2 b^{10} x+6 a b^{11} x^2+\frac {b^{12} x^3}{3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int \frac {(a+b x)^{12}}{x^{10}} \, dx &=\int \left (66 a^2 b^{10}+\frac {a^{12}}{x^{10}}+\frac {12 a^{11} b}{x^9}+\frac {66 a^{10} b^2}{x^8}+\frac {220 a^9 b^3}{x^7}+\frac {495 a^8 b^4}{x^6}+\frac {792 a^7 b^5}{x^5}+\frac {924 a^6 b^6}{x^4}+\frac {792 a^5 b^7}{x^3}+\frac {495 a^4 b^8}{x^2}+\frac {220 a^3 b^9}{x}+12 a b^{11} x+b^{12} x^2\right ) \, dx\\ &=-\frac {a^{12}}{9 x^9}-\frac {3 a^{11} b}{2 x^8}-\frac {66 a^{10} b^2}{7 x^7}-\frac {110 a^9 b^3}{3 x^6}-\frac {99 a^8 b^4}{x^5}-\frac {198 a^7 b^5}{x^4}-\frac {308 a^6 b^6}{x^3}-\frac {396 a^5 b^7}{x^2}-\frac {495 a^4 b^8}{x}+66 a^2 b^{10} x+6 a b^{11} x^2+\frac {b^{12} x^3}{3}+220 a^3 b^9 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 141, normalized size = 1.00 \begin {gather*} -\frac {a^{12}}{9 x^9}-\frac {3 a^{11} b}{2 x^8}-\frac {66 a^{10} b^2}{7 x^7}-\frac {110 a^9 b^3}{3 x^6}-\frac {99 a^8 b^4}{x^5}-\frac {198 a^7 b^5}{x^4}-\frac {308 a^6 b^6}{x^3}-\frac {396 a^5 b^7}{x^2}-\frac {495 a^4 b^8}{x}+66 a^2 b^{10} x+6 a b^{11} x^2+\frac {b^{12} x^3}{3}+220 a^3 b^9 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 132, normalized size = 0.94
method | result | size |
default | \(-\frac {a^{12}}{9 x^{9}}-\frac {3 a^{11} b}{2 x^{8}}-\frac {66 a^{10} b^{2}}{7 x^{7}}-\frac {110 a^{9} b^{3}}{3 x^{6}}-\frac {99 a^{8} b^{4}}{x^{5}}-\frac {198 a^{7} b^{5}}{x^{4}}-\frac {308 a^{6} b^{6}}{x^{3}}-\frac {396 a^{5} b^{7}}{x^{2}}-\frac {495 a^{4} b^{8}}{x}+66 a^{2} b^{10} x +6 a \,b^{11} x^{2}+\frac {b^{12} x^{3}}{3}+220 a^{3} b^{9} \ln \left (x \right )\) | \(132\) |
risch | \(\frac {b^{12} x^{3}}{3}+6 a \,b^{11} x^{2}+66 a^{2} b^{10} x +\frac {-495 a^{4} b^{8} x^{8}-396 a^{5} b^{7} x^{7}-308 a^{6} b^{6} x^{6}-198 a^{7} b^{5} x^{5}-99 a^{8} b^{4} x^{4}-\frac {110}{3} a^{9} b^{3} x^{3}-\frac {66}{7} a^{10} b^{2} x^{2}-\frac {3}{2} a^{11} b x -\frac {1}{9} a^{12}}{x^{9}}+220 a^{3} b^{9} \ln \left (x \right )\) | \(132\) |
norman | \(\frac {-\frac {1}{9} a^{12}+\frac {1}{3} b^{12} x^{12}+6 a \,b^{11} x^{11}+66 a^{2} b^{10} x^{10}-495 a^{4} b^{8} x^{8}-396 a^{5} b^{7} x^{7}-308 a^{6} b^{6} x^{6}-198 a^{7} b^{5} x^{5}-99 a^{8} b^{4} x^{4}-\frac {110}{3} a^{9} b^{3} x^{3}-\frac {66}{7} a^{10} b^{2} x^{2}-\frac {3}{2} a^{11} b x}{x^{9}}+220 a^{3} b^{9} \ln \left (x \right )\) | \(134\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 132, normalized size = 0.94 \begin {gather*} \frac {1}{3} \, b^{12} x^{3} + 6 \, a b^{11} x^{2} + 66 \, a^{2} b^{10} x + 220 \, a^{3} b^{9} \log \left (x\right ) - \frac {62370 \, a^{4} b^{8} x^{8} + 49896 \, a^{5} b^{7} x^{7} + 38808 \, a^{6} b^{6} x^{6} + 24948 \, a^{7} b^{5} x^{5} + 12474 \, a^{8} b^{4} x^{4} + 4620 \, a^{9} b^{3} x^{3} + 1188 \, a^{10} b^{2} x^{2} + 189 \, a^{11} b x + 14 \, a^{12}}{126 \, x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.48, size = 136, normalized size = 0.96 \begin {gather*} \frac {42 \, b^{12} x^{12} + 756 \, a b^{11} x^{11} + 8316 \, a^{2} b^{10} x^{10} + 27720 \, a^{3} b^{9} x^{9} \log \left (x\right ) - 62370 \, a^{4} b^{8} x^{8} - 49896 \, a^{5} b^{7} x^{7} - 38808 \, a^{6} b^{6} x^{6} - 24948 \, a^{7} b^{5} x^{5} - 12474 \, a^{8} b^{4} x^{4} - 4620 \, a^{9} b^{3} x^{3} - 1188 \, a^{10} b^{2} x^{2} - 189 \, a^{11} b x - 14 \, a^{12}}{126 \, x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.36, size = 143, normalized size = 1.01 \begin {gather*} 220 a^{3} b^{9} \log {\left (x \right )} + 66 a^{2} b^{10} x + 6 a b^{11} x^{2} + \frac {b^{12} x^{3}}{3} + \frac {- 14 a^{12} - 189 a^{11} b x - 1188 a^{10} b^{2} x^{2} - 4620 a^{9} b^{3} x^{3} - 12474 a^{8} b^{4} x^{4} - 24948 a^{7} b^{5} x^{5} - 38808 a^{6} b^{6} x^{6} - 49896 a^{5} b^{7} x^{7} - 62370 a^{4} b^{8} x^{8}}{126 x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.79, size = 133, normalized size = 0.94 \begin {gather*} \frac {1}{3} \, b^{12} x^{3} + 6 \, a b^{11} x^{2} + 66 \, a^{2} b^{10} x + 220 \, a^{3} b^{9} \log \left ({\left | x \right |}\right ) - \frac {62370 \, a^{4} b^{8} x^{8} + 49896 \, a^{5} b^{7} x^{7} + 38808 \, a^{6} b^{6} x^{6} + 24948 \, a^{7} b^{5} x^{5} + 12474 \, a^{8} b^{4} x^{4} + 4620 \, a^{9} b^{3} x^{3} + 1188 \, a^{10} b^{2} x^{2} + 189 \, a^{11} b x + 14 \, a^{12}}{126 \, x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 132, normalized size = 0.94 \begin {gather*} \frac {b^{12}\,x^3}{3}-\frac {\frac {a^{12}}{9}+\frac {3\,a^{11}\,b\,x}{2}+\frac {66\,a^{10}\,b^2\,x^2}{7}+\frac {110\,a^9\,b^3\,x^3}{3}+99\,a^8\,b^4\,x^4+198\,a^7\,b^5\,x^5+308\,a^6\,b^6\,x^6+396\,a^5\,b^7\,x^7+495\,a^4\,b^8\,x^8}{x^9}+66\,a^2\,b^{10}\,x+6\,a\,b^{11}\,x^2+220\,a^3\,b^9\,\ln \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________